﻿///<reference path="/Scripts/MicrosoftAjax.js"/>
///<reference path="/Scripts/doo.all.js"/>
Type.registerNamespace("ImDoo.Controls");

ImDoo.Controls.hotact = function (elem) {
    ImDoo.Controls.hotact.initializeBase(this, [elem]);
}

ImDoo.Controls.hotact.prototype = {
    initialize: function () {
        ImDoo.Controls.hotact.callBaseMethod(this, 'initialize');

    },
    htmlfile: 'hotact.htm',
    onChildsReady: function () {
        this.bind();
    },

    bind: function () {
        var lv = this.findChild("lv");
        imdoo.svr.vol.GetActs({}, function (result) {
            lv.databind(result);
        });
    },

    dispose: function () {


        //在此处添加自定义释放操作
        ImDoo.Controls.hotact.callBaseMethod(this, 'dispose');
    }
}

ImDoo.Controls.hotact.registerClass('ImDoo.Controls.hotact', Doo.UserControlBase);